import http from "@/utils/request"

export default {
	status: {
		method: 'doctor.bench.status',
		name: '设置大夫状态',
		post: async function(data = {}) {
			return await http.post(this.method, data);
		}
	},
	call: {
		method: 'doctor.bench.call',
		name: '接听电话',
		post: async function(data = {}) {
			return await http.post(this.method, data);
		}
	},
	assign_doctor: {
		method: 'doctor.bench.assignDoctor',
		name: '分配问诊单',
		post: async function(data = {}) {
			return await http.post(this.method, data);
		}
	},
	ring_off: {
		method: 'doctor.bench.ringOff',
		name: '停止问诊',
		post: async function(data = {}) {
			return await http.post(this.method, data);
		}
	},
	assign_patient: {
		method: 'doctor.bench.assignPatient',
		name: '分配问诊单',
		post: async function(data = {}) {
			return await http.post(this.method, data);
		}
	},
	un_complete: {
		method: 'doctor.bench.uncomplete',
		name: '待完成问诊单',
		post: async function(data = {}) {
			return await http.post(this.method, data);
		}
	}
}
